package com.AX.entity;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;



@Data
public class PathRequest {

    private Integer parkingLotId; //停车场id
    @NotNull
    private GeoPoint currentPosition;  //起点坐标，默认是停车场入口

    @NotBlank
    private String targetSpaceId;  //终点名称

    @Range(min=0, max=360)
    private Double currentHeading;
}
